const { createProxyMiddleware } = require('http-proxy-middleware');

module.exports = (app) => {
  app.use(
    createProxyMiddleware(['/keep-web'], {
      target: 'http://103.243.182.197:18088',
      secure: false,
      changeOrigin: true,
      // pathRewrite: {
      //   '^/api': '',
      // },
    })
  );
};
